package com.bit.log.facade;

public class FacadeClient {
    private LivingRoomLight livingRoomLight = new LivingRoomLight();
    private BedRoomLight bedRoomLight = new BedRoomLight();
    private HallLight hallLight = new HallLight();

    public void on() {
        livingRoomLight.on();
        bedRoomLight.on();
        hallLight.on();
    }


    public void off() {
        livingRoomLight.off();
        bedRoomLight.off();
        hallLight.off();
    }
}
